package com.letoken.platform.repo.app.res.config;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.letoken.platform.pub.enums.TokenTransactionStatusEnum;
import com.letoken.platform.pub.enums.TokenTransactionTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author wyl
 * @date 2022/12/19
 */
@Data
@ApiModel(value = "查询带流通记录分页返回对象", description = "查询带流通记录分页返回对象")
public class QueryLetokenHistoryRes {


    @ApiModelProperty(name = "amount", value = "数量")
    private String amount;

    @ApiModelProperty(name = "type", value = "交易类型", example = "1充值/2提现/3发行/4周期流通/5分享奖/6生态建设奖")
    private Integer type;

//    @ApiModelProperty(name = "status", value = "交易状态", example = "0正在处理/1已完成/2网络确认中/3失败/4异常")
//    private Integer status;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "createTime", value = "创建时间")
    private LocalDateTime createTime;

}
